package com.xjiye_test.payServer.serverletUtil;

/**
 * 平台支付异常
 * @author xingzhe
 * @date 2017年5月4日 上午11:32:08
 * @version 1.0
 * @company 重庆爱车联信息科技有限公司
 */
public class PlatformPayException extends Exception {


	private static final long serialVersionUID = 3807619090261514554L;
	private String            errCode;
    private String            errMsg;

    public PlatformPayException() {
        super();
    }

    public PlatformPayException(String message, Throwable cause) {
        super(message, cause);
    }

    public PlatformPayException(String message) {
        super(message);
    }

    public PlatformPayException(Throwable cause) {
        super(cause);
    }

    public PlatformPayException(String errCode, String errMsg) {
        super(errCode + ":" + errMsg);
        this.errCode = errCode;
        this.errMsg = errMsg;
    }

    public String getErrCode() {
        return this.errCode;
    }

    public String getErrMsg() {
        return this.errMsg;
    }

}